package com.yeyks.dal.dao;

import com.yeyks.dal.domain.SignIn;

public interface SignInMapper {
    int deleteByPrimaryKey(Long id);

    int insert(SignIn record);

    int insertSelective(SignIn record);

    SignIn selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(SignIn record);

    int updateByPrimaryKey(SignIn record);

    /**
     * 查询用户最新签到记录
     *
     * @param userId
     * @return
     */
    SignIn selectSignByUserId(Integer userId);
}